package com.examplemartin.jpademo.pojo.vo.forauth;

import com.examplemartin.jpademo.pojo.admin.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.stereotype.Component;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;
import java.util.List;


@Data
@Component
public class RoleVO implements Serializable {
    private Long id;

    private Date createTime;

    private Date updateTime;

    private  Integer status;
    private String name;
    private String url;
    private String icon;
    private List<ForAuthMenuVO> authorities;
    private String comment;

    @Override
    public String toString() {
        return "RoleVO{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", status=" + status +
                ", name='" + name + '\'' +
                ", url='" + url + '\'' +
                ", icon='" + icon + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }
}

